<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>添加工资信息</title>
<link href="css/button.css" rel="stylesheet" type="text/css">
<link href="css/form.css" rel="stylesheet" type="text/css">
</head>
<body>
 <section><a href="logout">注销</a>&nbsp;&nbsp;您现在的位置：<a href="admin.jsp">首页</a>
&gt;&gt;<a href="/salary_manage/salary">工资管理</a>&gt;&gt;添加部门</section>
<div id="form">
<form name='salary' action="/salary_manage/salary" method="post" style=" height: 450px; margin-top: 10px;">
	
	<p><label>部门&nbsp;&nbsp;</label><select name="departmentSno" id="select">
	<c:forEach items="${list}" var="dep">
  	<option value="${dep.departmentSno}">${dep.departmentName}</option>
	</c:forEach>
	</select></p>
	
	<p><label>岗位&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label><input type="text" name="post" required/></p>
	
	<p><label>基本工资&nbsp;&nbsp;</label><input type="number" name="baseWage"required/></p>
	<p><label>岗位津贴&nbsp;&nbsp;</label><input type="number" name="allowance"required/></p>
	<p><label>午餐补贴&nbsp;&nbsp;</label><input type="number" name="lunch"required/></p>
	<p><label>迟到扣钱&nbsp;&nbsp;</label><input type="number" name="otherPay"required/></p>
	<p><label>加班工资&nbsp;&nbsp;</label><input type="number" name="overtimeWage"required/></p>
	<input type="hidden" name="method" value="add"/>
	<p class="submit"><input type="submit"class="bluebuttoncss" value="添加"/></p>
</form>
</div>
<div class="demo_con">
<button type="button" class="button blue larrow" onclick="window.location.href = 'admin.jsp'">返回首页</button>
</div>
</body>
</html>